﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageAdd.aspx.cs" Inherits="CJJCH.Web.Manage.ManageAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SystemCss.css" rel="stylesheet" type="text/css" />
    <script src="../JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../Script/JQcheck.js" type="text/javascript"></script>
    <script type="text/javascript">
        function checkform() {
            if (IsNothing($("#txtUserName"), "请输入登录帐号！")) {
                return false;
            }
            if (IsNothing($("#txtUserPw1d"), "请输入登录密码！")) {
                return false;
            }
            if (IsNothing($("#txtUserPw2d"), "请输入确认密码！")) {
                return false;
            }
            if (document.getElementById("txtUserPw1d").value != document.getElementById("txtUserPw2d").value) {
                alert("两次输入密码不一致！");
                document.getElementById("txtUserPw2d").focus();
                return false;
            }
            if (IsNothing($("#txtRealName"), "请输入姓名！")) {
                return false;
            }

            if (IsNothing($("#txtUserTel"), "请输入联系电话！")) {
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="RBodyTable_x3 Link_font">
        <div class="Tabsheader1" style="background-color: #d9f3ff;">
        </div>
        <uc:ManageTop ID="ManageTop" runat="server" IIndex="2" />
        <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
            <tr>
                <td class="Left" height="100%">
                </td>
                <td height="100%" style="width: auto; height: 100%; background: #d7e7ff;">
                    <div class="MainTable_x1 linkfont" style="width: 100%; margin: 10px auto;">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                            style="line-height: 25px">
                            <tr>
                                <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                    width: 20%">
                                    登录账号
                                </td>
                                <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                    <asp:TextBox ID="txtUserName" runat="server" CssClass="EditInput_xy1" Width="150px"></asp:TextBox>*
                                </td>
                            </tr>
                            <tr>
                                <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                    width: 20%">
                                    登录密码
                                </td>
                                <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                    <asp:TextBox ID="txtUserPw1d" TextMode="Password" runat="server" CssClass="EditInput_xy1"
                                        Width="150px"></asp:TextBox>*
                                </td>
                            </tr>
                            <tr>
                                <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                    width: 20%">
                                    确认密码
                                </td>
                                <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                    <asp:TextBox ID="txtUserPw2d" TextMode="Password" runat="server" CssClass="EditInput_xy1"
                                        Width="150px"></asp:TextBox>*
                                </td>
                            </tr>
                            
                            <tr>
                                <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                    width: 20%">
                                    姓名
                                </td>
                                <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                    <asp:TextBox ID="txtRealName" runat="server" CssClass="EditInput_xy1" Width="150px" ></asp:TextBox>*
                                </td>
                            </tr>
                            <tr>
                                <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                    width: 20%">
                                    联系电话
                                </td>
                                <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                    <asp:TextBox ID="txtUserTel" runat="server" CssClass="EditInput_xy1" Width="150px"></asp:TextBox>*
                                </td>
                            </tr>
                            <tr>
                                <td align="right" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px;
                                    width: 20%">
                                    操&nbsp;&nbsp;&nbsp;&nbsp;作
                                </td>
                                <td align="left" valign="middle" class="TdBg1" style="padding: 2px 10px 2px 10px">
                                    <asp:Button ID="btnSave" runat="server" Text=" 添  加 " CssClass="BtnSearch_x1" OnClick="btnSave_Click"
                                        Style="padding: 2px 10px 2px 10px" />
                                    <input type="reset" value=" 撤 销" class="BtnSearch_x1" style="padding: 2px 10px 2px 10px" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td class="Right" height="100%">
                </td>
            </tr>
        </table>
        <div class="BoxFooter">
            <div class="Left">
            </div>
            <div class="Right">
            </div>
        </div>
    </div>
    </form>
</body>
</html>
